package io.geekidea.springbootplus.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.geekidea.springbootplus.system.entity.SysCategory;
import io.geekidea.springbootplus.system.param.SysCategoryPageParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface SysCategoryMapper extends BaseMapper<SysCategory> {


    SysCategory findSysCategoryById(Integer id);

    IPage<SysCategory> getSysCategoryPageList(@Param("page") Page page);

    IPage<SysCategory> getSysCategoryPageListByParam(@Param("page") Page page, @Param("param") SysCategoryPageParam sysCategoryPageParam);


}
